package com.newasia.server.serviceImpl;

import com.newasia.server.dal.entitys.WxLogin;
import com.newasia.server.dal.persistence.WxLoginMapper;
import com.newasia.server.service.IWxLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxLoginServiceImpl implements IWxLoginService {

    @Autowired(required = false)
    WxLoginMapper wxLoginMapper;

    @Override
    public WxLogin selectWxLoginByOpenId(String openId) {
        WxLogin wxLogin = wxLoginMapper.selectWxLoginByOpenId(openId);
        return wxLogin;
    }
}
